package com.bwie.vo;

/**
 * @author 军哥
 * @version 1.0
 * @description: 商品状态枚举
 * @date 2025/3/31 10:08
 */


public enum ProdEnum {

    WAIT(0, "草稿"),
    WAIT_CHECK(1, "待审核"),
    ONLINE(2, "上架"),
    NOT_OK(3, "驳回"),
    OFFLINE(4, "下架");

    private Integer code;
    private String name;

    private ProdEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
